package com.fw.service.persistence;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

import com.fw.service.persistence.dto.ParentMerchant;

/**
 * 
 * @author AS073
 *
 */
public interface ParentMerchantPersistenceService {

    public List<ParentMerchant> selectByParentIdAndStatus(String parentId, String status);

    public ParentMerchant save(ParentMerchant parentMerchant);

    public ParentMerchant findOne(Long id);

    public Page<ParentMerchant> findAll(Specification<ParentMerchant> specification, PageRequest pageRequest);
}
